#默认目标
TARGETS = servece client
all:$(TARGETS)

servece:servece.c
	gcc -Wall servece.c pthread.c -lpthread -o servece

client:client.c
	gcc -Wall client.c pthread.c -lpthread -o client

rm_out:
	rm -f $(TARGETS)